import Vue from 'vue'
import VueRouter from 'vue-router'
import login from '../views/Login.vue'

Vue.use(VueRouter)

const routes = [
  
  {
    path: '/',
    name: 'login',
    component:login
  },
  {
    path: '/User',
    name: 'user',
    component: () => import('../views/User.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
